﻿<%@ Page Title="" Language="C#" MasterPageFile="~/nest2.master" AutoEventWireup="true" CodeBehind="cdissue.aspx.cs" Inherits="WebApplication1.cdissue" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="Panel1" runat="server" Font-Names="Times New Roman" 
        Font-Size="Medium">
        <br />
        <asp:Label ID="Label1" runat="server" Text="Account No :"></asp:Label>&nbsp;&nbsp;<asp:DropDownList 
            ID="DropDownList1" runat="server" 
            Font-Names="Times New Roman" Font-Size="Medium" Height="30px" 
             Width="135px">
        </asp:DropDownList>
&nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Display" 
            Width="121px" />
        
        <br /><br />
        <asp:GridView ID="GridView1" runat="server" 
            OnRowDataBound="GridView1_RowDataBound" AutoGenerateColumns="False" 
            Height="152px" Width="588px" 
            >
        <Columns>

<asp:TemplateField HeaderText="Iss No">

<ItemTemplate>

<asp:Literal ID="litiss" runat="server" Text='<%# Eval("issno")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="CD No">

<ItemTemplate>

<asp:Literal ID="litcdno" runat="server" Text='<%# Eval("cdno")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Cust No">

<ItemTemplate>

<asp:Literal ID="litcust" runat="server" Text='<%# Eval("custno")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Status">

<ItemTemplate>

    <asp:Label ID="litstate" runat="server" Text='<%# Eval("status")%>'></asp:Label>
    

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Download">

<ItemTemplate>

    <asp:HyperLink ID="lnkiss" runat="server" NavigateUrl='<%#String.Format("~/issue.aspx?id={0}",Eval("issno")) %>'>Issue</asp:HyperLink>

    <asp:HyperLink ID="lnkrenew" runat="server" NavigateUrl='<%#String.Format("~/renew.aspx?id={0}",Eval("issno")) %>'>Renew</asp:HyperLink>

    <asp:HyperLink ID="lnkreturn" runat="server" NavigateUrl='<%#String.Format("~/return.aspx?id={0}",Eval("issno")) %>'>Return</asp:HyperLink>


</ItemTemplate>

</asp:TemplateField>

</Columns>
        </asp:GridView>
        <br />
    </asp:Panel>
</asp:Content>
